const Mock = require('mockjs');
let id = Mock.mock({
  "object|4": {
    "id": "上海市",
    "username": "@cname()",
    "date": "@date()",
    "email": "@email()"
  }
})

console.log(id);